<?xml version="1.0" encoding="UTF-8"?>

<xsl:transform version="2.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns:fo="http://www.w3.org/1999/XSL/Format"
  xmlns="http://www.w3.org/1999/xhtml"
  exclude-result-prefixes="#all">



  <!--==== Serializations ==================================================-->

  <xsl:output
    method="xhtml"
    doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
    doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>



  <!--==== Template rules ==================================================-->

  <xsl:template
    match="fo:root">
    <html xsl:use-attribute-sets="html.attributes">
      <head>
        <title>
          <!-- TODO file name -->
        </title>
      </head>
      <body>
        <h1>組版仕様</h1>
        <xsl:call-template name="div.about_layout_master"/>
        <xsl:call-template name="div.about_page_sequences"/>
        <xsl:call-template name="div.about_flow_objects"/>
      </body>
    </html>
  </xsl:template>



  <!--==== Named templates / Named attribute sets ==========================-->

  <xsl:template name="div.about_layout_master">
    <h2>レイアウトマスター</h2>
    <!-- TODO page masters -->
    <!-- TODO page sequence masters -->
  </xsl:template>



  <xsl:template name="div.about_page_sequences">
    <h2>ページシーケンス</h2>
    <!-- TODO page sequences
      - header
      - footer
      - flow
    -->
  </xsl:template>



  <xsl:template name="div.about_flow_objects">
    <h2>フローオブジェクト</h2>
    <!-- TODO flow objects -->
  </xsl:template>



  <xsl:attribute-set name="html.attributes">
    <xsl:attribute name="xml:lang">ja</xsl:attribute>
    <xsl:attribute name="lang">ja</xsl:attribute>
  </xsl:attribute-set>



</xsl:transform>
